﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MyFramework.UIKit
{
	public class UIGame : UIPanel {

		// Use this for initialization
		void Start () {
			var btnBack = transform.Find ("BtnBack").GetComponent<UnityEngine.UI.Button> ();
			btnBack.onClick.AddListener (() => {
				Close();
				UIPanel.OpenPanel<UIHomePanel>();

			});
		}

		// Update is called once per frame
		void Update () {

		}
	}
}